﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

using RpgLibrary.ItemClasses;
using RpgLibrary;

namespace XRpgLibrary.ItemClasses
{
    public class GameItemData : IRpgDataObject
    {
        #region Field Region
        
        public Vector2 Position;
        public string TextureImageName;
        public Rectangle? SourceRectangle;
        public BaseItemData BaseItem;
        
        #endregion
        
        #region Property Region

        public string Name
        {
            get
            {
                return BaseItem.Name;
            }
            set
            {
                BaseItem.Name = value;
            }
        }

        #endregion
        
        #region Constructor Region
        
        public GameItemData()
        {
        }
        
        #endregion
    }
}